package com.quectel.core.module.partybuildingsurvey.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 *
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/06/19 15:25
 */
@Data
@Schema
public class PartySurveyPersonRecordDto implements Serializable {

    /**
    * id
    */
    @Schema(description = "id")
    private Long id;

    /**
    * 问卷id
    */
    @Schema(description = "问卷id")
    private Long partySurveyId;

    /**
    * 党员id
    */
    @Schema(description = "党员id")
    private Long personId;


    /**
     * 是否匿名
     */
    @Schema(description = "是否匿名 0不匿名1匿名")
    private Byte anonymous;

    /**
    * 创建时间
    */
    @Schema(description = "创建时间")
    private Date createTime;

    /************非数据库字段 start ************/

    /**
     * 党组织名称
     */
    @Schema(description = "党组织名称")
    private String partyName;

    /**
     * 调查名称
     */
    @Schema(description = "调查名称")
    private String partySurveyName;

    /**
     * 调查名称
     */
    @Schema(description = "调查名称")
    private PartySurveyDto partySurvey;
    /**
     * 党员姓名
     */
    @Schema(description = "党员姓名")
    private String personName;

    /**
     * 党员姓名
     */
    @Schema(description = "党员电话")
    private String personMobile;

    /**
     * 问题的回答,按题目顺序排列
     */
    @Schema(description = "问题的回答,按题目顺序排列")
    private List<PartySurveyPersonAnswerDto> personAnswerList;

    /************非数据库字段 end **************/
}
